package com.tpsix.dto;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;


@Data
@EqualsAndHashCode(callSuper = true)
public class DataScope extends HashMap<String, Object> {

    private String scopeName = "deptId";

    private List<Integer> deptIds = new ArrayList<>();

    private boolean only = false;

    public static DataScope newInstance() {
        return new DataScope();
    }

}

